﻿@model EagleProject.LinQDataContext.JobApplication

@{
    ViewBag.Title = "ViewApplication";
}

<h2>ViewApplication</h2>

<fieldset>
    <legend>JobApplication</legend>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Title)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.FirstName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.MiddleName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MiddleName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.LastName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.ContactMobile1)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ContactMobile1)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.ContactMobile2)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ContactMobile2)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Addresses)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Addresses)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.City)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.City)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Highest_Education)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Highest_Education)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Email)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.InstitutionName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.InstitutionName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.CourseOfStudy)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CourseOfStudy)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Grade)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Grade)
    </div>

    <div class="display-label">
        Resumé       
    </div>
    <div class="display-display">
        <a href="@Url.Content(Model.DocumentURL)">View</a>
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.StatusCode)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StatusCode)
    </div>

    <div class="display-label">
        State
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.State.Name)
    </div>
</fieldset>
<p>
    @*@Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |*@
    @Html.ActionLink("Back to List", "ListApplication")
</p>
